#include "app_device.h"
#include "app_pool.h"
#include "app_mqtt.h"
#include <unistd.h>
#include "app_bt.h"

int main(int argc, char const *argv[])
{

    app_pool_init(5);
    app_mqtt_init();

    Device *device = app_device_init("/home/zxf/桌面/gateway/test_dev_file");

    // 初始化蓝牙
    app_bt_init(device);

    app_device_start();

    sleep(10000);
    
    return 0;
}
